import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import ElementPlus from "element-plus"
import "element-plus/dist/index.css"
import { zhCn } from 'element-plus/es/locale/index.mjs'
import {createPinia} from "pinia"
import router from './router/index.js'
const pinia =createPinia();
const app=createApp(App)
app.use(ElementPlus,{
    locale:zhCn
})
//注册全局图标
app.use(router)
app.use(pinia)
app.mount('#app')
